<?php
//function __autoload($class_name) {
//    include_once 'classes/'. $class_name . '.class.php';
//}
//
//$cfg = new Config;
//$db = new Db;
//$usr = new Users($db, $cfg);
//$usr->checkLogin();

?>

<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="utf-8" />
<title>wylęgarnia dupy</title>

</head>
<body>


<form method="post" action="do.php?Users=checkLogin">
        <fieldset>
    <legend>Login</legend>
    Login: <input type="text" name="user" placeholder="Login"/><br />
    Hasło: <input type="password" name="pass" placeholder="Hasło" /><br />
    <input type="submit" value="dopierdol" /><br />
    
    <? if(isset($_GET['err'])){ ?>
        Nie ma takiego użytkownika :(
        <? }?>
    
        </fieldset>
</form>

</body>
</html>


